﻿<table cellspacing="0" cellpadding="0" class="cssgrid">
<tbody>
    <tr class="category">          
        <td width="30px" align="center" class="headercart productcategory">
            <span class="norB">STT</span>
        </td>
        <td width="80px" align="center" class="headercart">
            <span class="norB">AccountId</span>
        </td>
        <td width="120px" align="center" class="headercart">
            <span class="norB">Tên tài khoản</span>
        </td>            
         <td width="100px" align="center" class="headercart">
            <span class="norB">Loại tài khoản </span>
        </td>
        <td width="80px" align="center" class="headercart">
            <span class="norB">Tiền đã nạp</span>
        </td>
        <td width="80px" align="center" class="headercart">
            <span class="norB">Tiền đã đổi</span>
        </td>
        <td width="80px" align="center" class="headercart">
            <span class="norB">Vàng đã nạp</span>
        </td>
         <td width="80px" align="center" class="headercart">
            <span class="norB">Bạc đã nạp</span>
        </td>
        <td width="80px" align="center" class="headercart">
            <span class="norB">Bạc đã đổi vàng</span>
        </td>           
        <td width="80px" align="center" class="headercart">
            <span class="norB">Vàng đặt cược</span>
        </td>
        <td width="80px" align="center" class="headercart">
            <span class="norB">Bạc đặt cược</span>
        </td>
        <td width="80px" align="center" class="headercart">
            <span class="norB">Vàng nhận thưởng</span>
        </td>
         <td width="80px" align="center" class="headercart">
            <span class="norB">Bạc nhận thưởng</span>
        </td> 
        <td width="80px" align="center" class="headercart">
            <span class="norB">Vàng còn lại</span>
        </td> 
        <td width="80px" align="center" class="headercart">
            <span class="norB">Bạc còn lại</span>
        </td>                                                                    
    </tr>

{#foreach $T.Items as payment}
        
        <tr>           
            <td width="30px" align="center" class="headercart">
                <span>{$T.payment.RowNumber}</span>
            </td>
            <td width="80px" align="center" class="headercart">
                <span>{$T.payment.AccountId}</span>
            </td>
            <td width="120px" align="center" class="headercart">
                <span>{$T.payment.AccountName}</span>
            </td>            
            <td width="100px" align="center" class="headercart">
                <span>
                    {#if $T.payment.AccountTypeId==1}
                        Hilo
                    {#/if}
                    {#if $T.payment.AccountTypeId==2}
                        Facebook
                    {#/if}
                    {#if $T.payment.AccountTypeId==3}
                        Google
                    {#/if}
                    {#if $T.payment.AccountTypeId==4}
                        Yahoo
                    {#/if}
                    {#if $T.payment.AccountTypeId==5}
                        Twiter
                    {#/if}
                    {#if $T.payment.AccountTypeId==6}
                        Go.vn
                    {#/if}          
                </span>
            </td>
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalVndIn)}</span>
            </td>
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalVndOut)}</span>
            </td>
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalReceiveAu)}</span>
            </td>
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalReceiveAg)}</span>
            </td>           
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalAgToAu)}</span>
            </td> 
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalAuPlay)}</span>
            </td> 
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalAgPlay)}</span>
            </td> 
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalAuBonus)}</span>
            </td> 
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.TotalAgBonus)}</span>
            </td> 
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.CurrentAu)}</span>
            </td> 
            <td width="80px" align="center" class="headercart">
                <span>{COMMON.formatMoney($T.payment.CurrentAg)}</span>
            </td>             
        </tr>       
        {#/for}
    </tbody>
</table>
